<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#375EAB">
<title>Gosl &ndash; package plt</title>
<link type="text/css" rel="stylesheet" href="static/style.css">
<script type="text/javascript" src="static/godocs.js"></script>
<style type="text/css"></style>
</head>
<body>
<div id="page" class=\wide">
<div class="container">
<h1>Gosl &ndash; <b>plt</b> &ndash; Plotting and drawing (png and eps)</h1>
use 'godoc cmd/github.com/cpmech/gosl/plt' for documentation on the github.com/cpmech/gosl/plt command 

<!--
	Copyright 2009 The Go Authors. All rights reserved.
	Use of this source code is governed by a BSD-style
	license that can be found in the LICENSE file.
-->
<!--
	Note: Static (i.e., not template-generated) href and id
	attributes start with "pkg-" to make it impossible for
	them to conflict with generated attributes (some of which
	correspond to Go identifiers).
-->

	<script type='text/javascript'>
	document.ANALYSIS_DATA = ;
	document.CALLGRAPH = ;
	</script>

	
		
		<div id="short-nav">
			<dl>
			<dd><code>import "github.com/cpmech/gosl/plt"</code></dd>
			</dl>
			<dl>
			<dd><a href="#pkg-overview" class="overviewLink">Overview</a></dd>
			<dd><a href="#pkg-index" class="indexLink">Index</a></dd>
			
			
				<dd><a href="#pkg-subdirectories">Subdirectories</a></dd>
			
			</dl>
		</div>
		<!-- The package's Name is printed as title by the top-level template -->
		<div id="pkg-overview" class="toggleVisible">
			<div class="collapsed">
				<h2 class="toggleButton" title="Click to show Overview section">Overview ▹</h2>
			</div>
			<div class="expanded">
				<h2 class="toggleButton" title="Click to hide Overview section">Overview ▾</h2>
				<p>
plt contains functions for plotting
</p>

			</div>
		</div>
		

		<div id="pkg-index" class="toggleVisible">
		<div class="collapsed">
			<h2 class="toggleButton" title="Click to show Index section">Index ▹</h2>
		</div>
		<div class="expanded">
			<h2 class="toggleButton" title="Click to hide Index section">Index ▾</h2>

		<!-- Table of contents for API; must be named manual-nav to turn off auto nav. -->
			<div id="manual-nav">
			<dl>
			
			
			
				
				<dd><a href="#Annotate">func Annotate(x, y float64, txt string, args string)</a></dd>
			
				
				<dd><a href="#AnnotateXlabels">func AnnotateXlabels(x float64, txt string, args string)</a></dd>
			
				
				<dd><a href="#Arrow">func Arrow(xi, yi, xf, yf float64, args string)</a></dd>
			
				
				<dd><a href="#AutoScale">func AutoScale(P [][]float64)</a></dd>
			
				
				<dd><a href="#AxDist">func AxDist(dist float64)</a></dd>
			
				
				<dd><a href="#AxHline">func AxHline(y float64, args string)</a></dd>
			
				
				<dd><a href="#AxVline">func AxVline(x float64, args string)</a></dd>
			
				
				<dd><a href="#Axes">func Axes(xi, yi, xf, yf float64, args string)</a></dd>
			
				
				<dd><a href="#AxisLims">func AxisLims(lims []float64)</a></dd>
			
				
				<dd><a href="#AxisOff">func AxisOff()</a></dd>
			
				
				<dd><a href="#AxisRange">func AxisRange(xmin, xmax, ymin, ymax float64)</a></dd>
			
				
				<dd><a href="#AxisRange3d">func AxisRange3d(xmin, xmax, ymin, ymax, zmin, zmax float64)</a></dd>
			
				
				<dd><a href="#AxisXmax">func AxisXmax(xmax float64)</a></dd>
			
				
				<dd><a href="#AxisXmin">func AxisXmin(xmin float64)</a></dd>
			
				
				<dd><a href="#AxisXrange">func AxisXrange(xmin, xmax float64)</a></dd>
			
				
				<dd><a href="#AxisYmax">func AxisYmax(ymax float64)</a></dd>
			
				
				<dd><a href="#AxisYmin">func AxisYmin(ymin float64)</a></dd>
			
				
				<dd><a href="#AxisYrange">func AxisYrange(ymin, ymax float64)</a></dd>
			
				
				<dd><a href="#Camera">func Camera(elev, azim float64, args string)</a></dd>
			
				
				<dd><a href="#Circle">func Circle(xc, yc, r float64, args string)</a></dd>
			
				
				<dd><a href="#Clf">func Clf()</a></dd>
			
				
				<dd><a href="#Contour">func Contour(x, y, z [][]float64, args string)</a></dd>
			
				
				<dd><a href="#ContourSimple">func ContourSimple(x, y, z [][]float64, withClabel bool, clabelFsz float64, args string)</a></dd>
			
				
				<dd><a href="#Cross">func Cross(args string)</a></dd>
			
				
				<dd><a href="#DoubleYscale">func DoubleYscale(ylabelOrEmpty string)</a></dd>
			
				
				<dd><a href="#DrawLegend">func DrawLegend(dat []Fmt, fs int, loc string, frame bool, args string)</a></dd>
			
				
				<dd><a href="#DrawPolyline">func DrawPolyline(P [][]float64, sd *Sty, args string)</a></dd>
			
				
				<dd><a href="#Equal">func Equal()</a></dd>
			
				
				<dd><a href="#Gen2Arrays">func Gen2Arrays(buf *bytes.Buffer, nameA, nameB string, a, b []float64)</a></dd>
			
				
				<dd><a href="#GenArray">func GenArray(b *bytes.Buffer, name string, u []float64)</a></dd>
			
				
				<dd><a href="#GenList">func GenList(buf *bytes.Buffer, name string, a [][]float64)</a></dd>
			
				
				<dd><a href="#GenMat">func GenMat(buf *bytes.Buffer, name string, a [][]float64)</a></dd>
			
				
				<dd><a href="#GenStrArray">func GenStrArray(b *bytes.Buffer, name string, u []string)</a></dd>
			
				
				<dd><a href="#Gll">func Gll(xl, yl string, args string)</a></dd>
			
				
				<dd><a href="#Grid">func Grid(args string)</a></dd>
			
				
				<dd><a href="#HideTRframe">func HideTRframe()</a></dd>
			
				
				<dd><a href="#Hist">func Hist(x [][]float64, labels []string, args string)</a></dd>
			
				
				<dd><a href="#Plot">func Plot(x, y []float64, args string) (sx, sy string)</a></dd>
			
				
				<dd><a href="#Plot3dLine">func Plot3dLine(x, y, z []float64, first bool, args string)</a></dd>
			
				
				<dd><a href="#Plot3dPoints">func Plot3dPoints(x, y, z []float64, args string)</a></dd>
			
				
				<dd><a href="#PlotOne">func PlotOne(x, y float64, args string)</a></dd>
			
				
				<dd><a href="#PyCmds">func PyCmds(cmds string)</a></dd>
			
				
				<dd><a href="#PyFile">func PyFile(filename string)</a></dd>
			
				
				<dd><a href="#Quiver">func Quiver(x, y, gx, gy [][]float64, args string)</a></dd>
			
				
				<dd><a href="#Reset">func Reset()</a></dd>
			
				
				<dd><a href="#Save">func Save(fname string)</a></dd>
			
				
				<dd><a href="#SaveD">func SaveD(dirout, fname string)</a></dd>
			
				
				<dd><a href="#SetAxis">func SetAxis(xmin, xmax, ymin, ymax float64)</a></dd>
			
				
				<dd><a href="#SetFontSize">func SetFontSize(args string)</a></dd>
			
				
				<dd><a href="#SetForEps">func SetForEps(prop, widpt float64)</a></dd>
			
				
				<dd><a href="#SetForPng">func SetForPng(prop, widpt float64, dpi int)</a></dd>
			
				
				<dd><a href="#SetHspace">func SetHspace(hspace float64)</a></dd>
			
				
				<dd><a href="#SetScientific">func SetScientific(axis string, min_order, max_order int)</a></dd>
			
				
				<dd><a href="#SetTicksNormal">func SetTicksNormal()</a></dd>
			
				
				<dd><a href="#SetTicksX">func SetTicksX(majorEvery, minorEvery float64, majorFmt string)</a></dd>
			
				
				<dd><a href="#SetTicksY">func SetTicksY(majorEvery, minorEvery float64, majorFmt string)</a></dd>
			
				
				<dd><a href="#SetVspace">func SetVspace(vspace float64)</a></dd>
			
				
				<dd><a href="#SetXlog">func SetXlog()</a></dd>
			
				
				<dd><a href="#SetXnticks">func SetXnticks(num int)</a></dd>
			
				
				<dd><a href="#SetYlog">func SetYlog()</a></dd>
			
				
				<dd><a href="#SetYnticks">func SetYnticks(num int)</a></dd>
			
				
				<dd><a href="#Show">func Show()</a></dd>
			
				
				<dd><a href="#SplotGap">func SplotGap(w, h float64)</a></dd>
			
				
				<dd><a href="#Subplot">func Subplot(i, j, k int)</a></dd>
			
				
				<dd><a href="#SubplotI">func SubplotI(I []int)</a></dd>
			
				
				<dd><a href="#SupTitle">func SupTitle(txt, args string)</a></dd>
			
				
				<dd><a href="#Surface">func Surface(x, y, z [][]float64, args string)</a></dd>
			
				
				<dd><a href="#TexPiRadFmt">func TexPiRadFmt(x float64) string</a></dd>
			
				
				<dd><a href="#Text">func Text(x, y float64, txt, args string)</a></dd>
			
				
				<dd><a href="#Title">func Title(txt, args string)</a></dd>
			
				
				<dd><a href="#Wireframe">func Wireframe(x, y, z [][]float64, args string)</a></dd>
			
			
				
				<dd><a href="#Fmt">type Fmt</a></dd>
				
				
					
					<dd>&nbsp; &nbsp; <a href="#Fmt.GetArgs">func (o Fmt) GetArgs(start string) string</a></dd>
				
			
				
				<dd><a href="#Sty">type Sty</a></dd>
				
				
					
					<dd>&nbsp; &nbsp; <a href="#Sty.Init">func (o *Sty) Init()</a></dd>
				
			
			
			</dl>
			</div><!-- #manual-nav -->

		

		
			<h4>Package files</h4>
			<p>
			<span style="font-size:90%">
			
				<a href="/src/github.com/cpmech/gosl/plt/drawing.go">drawing.go</a>
			
				<a href="/src/github.com/cpmech/gosl/plt/mplotlib.go">mplotlib.go</a>
			
				<a href="/src/github.com/cpmech/gosl/plt/numformatting.go">numformatting.go</a>
			
				<a href="/src/github.com/cpmech/gosl/plt/styles.go">styles.go</a>
			
			</span>
			</p>
		
		</div><!-- .expanded -->
		</div><!-- #pkg-index -->

		<div id="pkg-callgraph" class="toggle" style="display: none">
		<div class="collapsed">
			<h2 class="toggleButton" title="Click to show Internal Call Graph section">Internal call graph ▹</h2>
		</div> <!-- .expanded -->
		<div class="expanded">
			<h2 class="toggleButton" title="Click to hide Internal Call Graph section">Internal call graph ▾</h2>
			<p>
			  In the call graph viewer below, each node
			  is a function belonging to this package
			  and its children are the functions it
			  calls&mdash;perhaps dynamically.
			</p>
			<p>
			  The root nodes are the entry points of the
			  package: functions that may be called from
			  outside the package.
			  There may be non-exported or anonymous
			  functions among them if they are called
			  dynamically from another package.
			</p>
			<p>
			  Click a node to visit that function's source code.
			  From there you can visit its callers by
			  clicking its declaring <code>func</code>
			  token.
			</p>
			<p>
			  Functions may be omitted if they were
			  determined to be unreachable in the
			  particular programs or tests that were
			  analyzed.
			</p>
			<!-- Zero means show all package entry points. -->
			<ul style="margin-left: 0.5in" id="callgraph-0" class="treeview"></ul>
		</div>
		</div> <!-- #pkg-callgraph -->

		
		
		
			
			
			<h2 id="Annotate">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=2351:2403#L108">Annotate</a></h2>
			<pre>func Annotate(x, y <a href="/pkg/builtin/#float64">float64</a>, txt <a href="/pkg/builtin/#string">string</a>, args <a href="/pkg/builtin/#string">string</a>)</pre>
			
			
			

		
			
			
			<h2 id="AnnotateXlabels">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=2538:2594#L116">AnnotateXlabels</a></h2>
			<pre>func AnnotateXlabels(x <a href="/pkg/builtin/#float64">float64</a>, txt <a href="/pkg/builtin/#string">string</a>, args <a href="/pkg/builtin/#string">string</a>)</pre>
			
			
			

		
			
			
			<h2 id="Arrow">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=1811:1858#L80">Arrow</a></h2>
			<pre>func Arrow(xi, yi, xf, yf <a href="/pkg/builtin/#float64">float64</a>, args <a href="/pkg/builtin/#string">string</a>)</pre>
			
			
			

		
			
			
			<h2 id="AutoScale">func <a href="https://github.com/cpmech/gosl/blob/master/plt/drawing.go?s=243:272#L1">AutoScale</a></h2>
			<pre>func AutoScale(P [][]<a href="/pkg/builtin/#float64">float64</a>)</pre>
			<p>
AutoScale rescales plot area
</p>

			
			

		
			
			
			<h2 id="AxDist">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=8040:8065#L358">AxDist</a></h2>
			<pre>func AxDist(dist <a href="/pkg/builtin/#float64">float64</a>)</pre>
			
			
			

		
			
			
			<h2 id="AxHline">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=1993:2029#L88">AxHline</a></h2>
			<pre>func AxHline(y <a href="/pkg/builtin/#float64">float64</a>, args <a href="/pkg/builtin/#string">string</a>)</pre>
			
			
			

		
			
			
			<h2 id="AxVline">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=2143:2179#L96">AxVline</a></h2>
			<pre>func AxVline(x <a href="/pkg/builtin/#float64">float64</a>, args <a href="/pkg/builtin/#string">string</a>)</pre>
			
			
			

		
			
			
			<h2 id="Axes">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=1631:1677#L72">Axes</a></h2>
			<pre>func Axes(xi, yi, xf, yf <a href="/pkg/builtin/#float64">float64</a>, args <a href="/pkg/builtin/#string">string</a>)</pre>
			
			
			

		
			
			
			<h2 id="AxisLims">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=4746:4775#L213">AxisLims</a></h2>
			<pre>func AxisLims(lims []<a href="/pkg/builtin/#float64">float64</a>)</pre>
			
			
			

		
			
			
			<h2 id="AxisOff">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=9474:9488#L427">AxisOff</a></h2>
			<pre>func AxisOff()</pre>
			
			
			

		
			
			
			<h2 id="AxisRange">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=4437:4483#L205">AxisRange</a></h2>
			<pre>func AxisRange(xmin, xmax, ymin, ymax <a href="/pkg/builtin/#float64">float64</a>)</pre>
			
			
			

		
			
			
			<h2 id="AxisRange3d">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=4553:4613#L209">AxisRange3d</a></h2>
			<pre>func AxisRange3d(xmin, xmax, ymin, ymax, zmin, zmax <a href="/pkg/builtin/#float64">float64</a>)</pre>
			
			
			

		
			
			
			<h2 id="AxisXmax">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=3923:3950#L185">AxisXmax</a></h2>
			<pre>func AxisXmax(xmax <a href="/pkg/builtin/#float64">float64</a>)</pre>
			
			
			

		
			
			
			<h2 id="AxisXmin">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=3823:3850#L181">AxisXmin</a></h2>
			<pre>func AxisXmin(xmin <a href="/pkg/builtin/#float64">float64</a>)</pre>
			
			
			

		
			
			
			<h2 id="AxisXrange">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=4223:4258#L197">AxisXrange</a></h2>
			<pre>func AxisXrange(xmin, xmax <a href="/pkg/builtin/#float64">float64</a>)</pre>
			
			
			

		
			
			
			<h2 id="AxisYmax">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=4123:4150#L193">AxisYmax</a></h2>
			<pre>func AxisYmax(ymax <a href="/pkg/builtin/#float64">float64</a>)</pre>
			
			
			

		
			
			
			<h2 id="AxisYmin">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=4023:4050#L189">AxisYmin</a></h2>
			<pre>func AxisYmin(ymin <a href="/pkg/builtin/#float64">float64</a>)</pre>
			
			
			

		
			
			
			<h2 id="AxisYrange">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=4330:4365#L201">AxisYrange</a></h2>
			<pre>func AxisYrange(ymin, ymax <a href="/pkg/builtin/#float64">float64</a>)</pre>
			
			
			

		
			
			
			<h2 id="Camera">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=7851:7895#L350">Camera</a></h2>
			<pre>func Camera(elev, azim <a href="/pkg/builtin/#float64">float64</a>, args <a href="/pkg/builtin/#string">string</a>)</pre>
			
			
			

		
			
			
			<h2 id="Circle">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=9623:9666#L440">Circle</a></h2>
			<pre>func Circle(xc, yc, r <a href="/pkg/builtin/#float64">float64</a>, args <a href="/pkg/builtin/#string">string</a>)</pre>
			
			
			

		
			
			
			<h2 id="Clf">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=8757:8767#L392">Clf</a></h2>
			<pre>func Clf()</pre>
			
			
			

		
			
			
			<h2 id="Contour">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=7074:7120#L317">Contour</a></h2>
			<pre>func Contour(x, y, z [][]<a href="/pkg/builtin/#float64">float64</a>, args <a href="/pkg/builtin/#string">string</a>)</pre>
			
			
			

		
			
			
			<h2 id="ContourSimple">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=7393:7481#L332">ContourSimple</a></h2>
			<pre>func ContourSimple(x, y, z [][]<a href="/pkg/builtin/#float64">float64</a>, withClabel <a href="/pkg/builtin/#bool">bool</a>, clabelFsz <a href="/pkg/builtin/#float64">float64</a>, args <a href="/pkg/builtin/#string">string</a>)</pre>
			
			
			

		
			
			
			<h2 id="Cross">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=3266:3289#L150">Cross</a></h2>
			<pre>func Cross(args <a href="/pkg/builtin/#string">string</a>)</pre>
			
			
			

		
			
			
			<h2 id="DoubleYscale">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=561:600#L25">DoubleYscale</a></h2>
			<pre>func DoubleYscale(ylabelOrEmpty <a href="/pkg/builtin/#string">string</a>)</pre>
			
			
			

		
			
			
			<h2 id="DrawLegend">func <a href="https://github.com/cpmech/gosl/blob/master/plt/drawing.go?s=1406:1477#L50">DrawLegend</a></h2>
			<pre>func DrawLegend(dat []<a href="#Fmt">Fmt</a>, fs <a href="/pkg/builtin/#int">int</a>, loc <a href="/pkg/builtin/#string">string</a>, frame <a href="/pkg/builtin/#bool">bool</a>, args <a href="/pkg/builtin/#string">string</a>)</pre>
			<p>
DrawLegend draws legend with given lines data. fs == fontsize
</p>

			
			

		
			
			
			<h2 id="DrawPolyline">func <a href="https://github.com/cpmech/gosl/blob/master/plt/drawing.go?s=640:694#L24">DrawPolyline</a></h2>
			<pre>func DrawPolyline(P [][]<a href="/pkg/builtin/#float64">float64</a>, sd *<a href="#Sty">Sty</a>, args <a href="/pkg/builtin/#string">string</a>)</pre>
			<p>
DrawPolyline draws a polyline
</p>

			
			

		
			
			
			<h2 id="Equal">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=9523:9535#L431">Equal</a></h2>
			<pre>func Equal()</pre>
			
			
			

		
			
			
			<h2 id="Gen2Arrays">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=11068:11139#L502">Gen2Arrays</a></h2>
			<pre>func Gen2Arrays(buf *<a href="/pkg/bytes/">bytes</a>.<a href="/pkg/bytes/#Buffer">Buffer</a>, nameA, nameB <a href="/pkg/builtin/#string">string</a>, a, b []<a href="/pkg/builtin/#float64">float64</a>)</pre>
			<p>
Gen2Arrays generates the NumPy text in &#39;b&#39; corresponding to 2 arrays of float point numbers
</p>

			
			

		
			
			
			<h2 id="GenArray">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=10801:10857#L493">GenArray</a></h2>
			<pre>func GenArray(b *<a href="/pkg/bytes/">bytes</a>.<a href="/pkg/bytes/#Buffer">Buffer</a>, name <a href="/pkg/builtin/#string">string</a>, u []<a href="/pkg/builtin/#float64">float64</a>)</pre>
			<p>
GenArray generates the NumPy text in &#39;b&#39; corresponding to an array of float point numbers
</p>

			
			

		
			
			
			<h2 id="GenList">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=10474:10533#L480">GenList</a></h2>
			<pre>func GenList(buf *<a href="/pkg/bytes/">bytes</a>.<a href="/pkg/bytes/#Buffer">Buffer</a>, name <a href="/pkg/builtin/#string">string</a>, a [][]<a href="/pkg/builtin/#float64">float64</a>)</pre>
			<p>
GenList generates list
</p>

			
			

		
			
			
			<h2 id="GenMat">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=10196:10254#L467">GenMat</a></h2>
			<pre>func GenMat(buf *<a href="/pkg/bytes/">bytes</a>.<a href="/pkg/bytes/#Buffer">Buffer</a>, name <a href="/pkg/builtin/#string">string</a>, a [][]<a href="/pkg/builtin/#float64">float64</a>)</pre>
			<p>
GenMat generates matrix
</p>

			
			

		
			
			
			<h2 id="GenStrArray">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=11279:11337#L508">GenStrArray</a></h2>
			<pre>func GenStrArray(b *<a href="/pkg/bytes/">bytes</a>.<a href="/pkg/bytes/#Buffer">Buffer</a>, name <a href="/pkg/builtin/#string">string</a>, u []<a href="/pkg/builtin/#string">string</a>)</pre>
			<p>
GenStrArray generates the NumPy text in &#39;b&#39; corresponding to an array of strings
</p>

			
			

		
			
			
			<h2 id="Gll">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=8552:8588#L383">Gll</a></h2>
			<pre>func Gll(xl, yl <a href="/pkg/builtin/#string">string</a>, args <a href="/pkg/builtin/#string">string</a>)</pre>
			
			
			

		
			
			
			<h2 id="Grid">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=8492:8514#L379">Grid</a></h2>
			<pre>func Grid(args <a href="/pkg/builtin/#string">string</a>)</pre>
			
			
			

		
			
			
			<h2 id="HideTRframe">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=2293:2311#L104">HideTRframe</a></h2>
			<pre>func HideTRframe()</pre>
			
			
			

		
			
			
			<h2 id="Hist">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=5312:5366#L238">Hist</a></h2>
			<pre>func Hist(x [][]<a href="/pkg/builtin/#float64">float64</a>, labels []<a href="/pkg/builtin/#string">string</a>, args <a href="/pkg/builtin/#string">string</a>)</pre>
			
			
			

		
			
			
			<h2 id="Plot">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=4857:4911#L217">Plot</a></h2>
			<pre>func Plot(x, y []<a href="/pkg/builtin/#float64">float64</a>, args <a href="/pkg/builtin/#string">string</a>) (sx, sy <a href="/pkg/builtin/#string">string</a>)</pre>
			
			
			

		
			
			
			<h2 id="Plot3dLine">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=5614:5673#L251">Plot3dLine</a></h2>
			<pre>func Plot3dLine(x, y, z []<a href="/pkg/builtin/#float64">float64</a>, first <a href="/pkg/builtin/#bool">bool</a>, args <a href="/pkg/builtin/#string">string</a>)</pre>
			
			
			

		
			
			
			<h2 id="Plot3dPoints">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=6007:6056#L270">Plot3dPoints</a></h2>
			<pre>func Plot3dPoints(x, y, z []<a href="/pkg/builtin/#float64">float64</a>, args <a href="/pkg/builtin/#string">string</a>)</pre>
			
			
			

		
			
			
			<h2 id="PlotOne">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=5133:5172#L230">PlotOne</a></h2>
			<pre>func PlotOne(x, y <a href="/pkg/builtin/#float64">float64</a>, args <a href="/pkg/builtin/#string">string</a>)</pre>
			
			
			

		
			
			
			<h2 id="PyCmds">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=513:537#L21">PyCmds</a></h2>
			<pre>func PyCmds(cmds <a href="/pkg/builtin/#string">string</a>)</pre>
			
			
			

		
			
			
			<h2 id="PyFile">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=722:750#L32">PyFile</a></h2>
			<pre>func PyFile(filename <a href="/pkg/builtin/#string">string</a>)</pre>
			
			
			

		
			
			
			<h2 id="Quiver">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=8110:8160#L362">Quiver</a></h2>
			<pre>func Quiver(x, y, gx, gy [][]<a href="/pkg/builtin/#float64">float64</a>, args <a href="/pkg/builtin/#string">string</a>)</pre>
			
			
			

		
			
			
			<h2 id="Reset">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=410:422#L14">Reset</a></h2>
			<pre>func Reset()</pre>
			
			
			

		
			
			
			<h2 id="Save">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=9081:9104#L410">Save</a></h2>
			<pre>func Save(fname <a href="/pkg/builtin/#string">string</a>)</pre>
			
			
			

		
			
			
			<h2 id="SaveD">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=9197:9229#L416">SaveD</a></h2>
			<pre>func SaveD(dirout, fname <a href="/pkg/builtin/#string">string</a>)</pre>
			
			
			

		
			
			
			<h2 id="SetAxis">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=9360:9404#L423">SetAxis</a></h2>
			<pre>func SetAxis(xmin, xmax, ymin, ymax <a href="/pkg/builtin/#float64">float64</a>)</pre>
			
			
			

		
			
			
			<h2 id="SetFontSize">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=8796:8825#L396">SetFontSize</a></h2>
			<pre>func SetFontSize(args <a href="/pkg/builtin/#string">string</a>)</pre>
			
			
			

		
			
			
			<h2 id="SetForEps">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=8870:8905#L400">SetForEps</a></h2>
			<pre>func SetForEps(prop, widpt <a href="/pkg/builtin/#float64">float64</a>)</pre>
			
			
			

		
			
			
			<h2 id="SetForPng">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=8967:9011#L405">SetForPng</a></h2>
			<pre>func SetForPng(prop, widpt <a href="/pkg/builtin/#float64">float64</a>, dpi <a href="/pkg/builtin/#int">int</a>)</pre>
			
			
			

		
			
			
			<h2 id="SetHspace">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=3647:3677#L173">SetHspace</a></h2>
			<pre>func SetHspace(hspace <a href="/pkg/builtin/#float64">float64</a>)</pre>
			
			
			

		
			
			
			<h2 id="SetScientific">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=1383:1440#L64">SetScientific</a></h2>
			<pre>func SetScientific(axis <a href="/pkg/builtin/#string">string</a>, min_order, max_order <a href="/pkg/builtin/#int">int</a>)</pre>
			
			
			

		
			
			
			<h2 id="SetTicksNormal">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=1547:1568#L68">SetTicksNormal</a></h2>
			<pre>func SetTicksNormal()</pre>
			
			
			

		
			
			
			<h2 id="SetTicksX">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=1099:1162#L56">SetTicksX</a></h2>
			<pre>func SetTicksX(majorEvery, minorEvery <a href="/pkg/builtin/#float64">float64</a>, majorFmt <a href="/pkg/builtin/#string">string</a>)</pre>
			
			
			

		
			
			
			<h2 id="SetTicksY">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=1241:1304#L60">SetTicksY</a></h2>
			<pre>func SetTicksY(majorEvery, minorEvery <a href="/pkg/builtin/#float64">float64</a>, majorFmt <a href="/pkg/builtin/#string">string</a>)</pre>
			
			
			

		
			
			
			<h2 id="SetVspace">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=3735:3765#L177">SetVspace</a></h2>
			<pre>func SetVspace(vspace <a href="/pkg/builtin/#float64">float64</a>)</pre>
			
			
			

		
			
			
			<h2 id="SetXlog">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=871:885#L40">SetXlog</a></h2>
			<pre>func SetXlog()</pre>
			
			
			

		
			
			
			<h2 id="SetXnticks">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=965:989#L48">SetXnticks</a></h2>
			<pre>func SetXnticks(num <a href="/pkg/builtin/#int">int</a>)</pre>
			
			
			

		
			
			
			<h2 id="SetYlog">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=918:932#L44">SetYlog</a></h2>
			<pre>func SetYlog()</pre>
			
			
			

		
			
			
			<h2 id="SetYnticks">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=1032:1056#L52">SetYnticks</a></h2>
			<pre>func SetYnticks(num <a href="/pkg/builtin/#int">int</a>)</pre>
			
			
			

		
			
			
			<h2 id="Show">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=9572:9583#L435">Show</a></h2>
			<pre>func Show()</pre>
			
			
			

		
			
			
			<h2 id="SplotGap">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=3388:3415#L158">SplotGap</a></h2>
			<pre>func SplotGap(w, h <a href="/pkg/builtin/#float64">float64</a>)</pre>
			
			
			

		
			
			
			<h2 id="Subplot">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=3461:3486#L162">Subplot</a></h2>
			<pre>func Subplot(i, j, k <a href="/pkg/builtin/#int">int</a>)</pre>
			
			
			

		
			
			
			<h2 id="SubplotI">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=3536:3558#L166">SubplotI</a></h2>
			<pre>func SubplotI(I []<a href="/pkg/builtin/#int">int</a>)</pre>
			
			
			

		
			
			
			<h2 id="SupTitle">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=2725:2756#L124">SupTitle</a></h2>
			<pre>func SupTitle(txt, args <a href="/pkg/builtin/#string">string</a>)</pre>
			
			
			

		
			
			
			<h2 id="Surface">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=6755:6801#L302">Surface</a></h2>
			<pre>func Surface(x, y, z [][]<a href="/pkg/builtin/#float64">float64</a>, args <a href="/pkg/builtin/#string">string</a>)</pre>
			
			
			

		
			
			
			<h2 id="TexPiRadFmt">func <a href="https://github.com/cpmech/gosl/blob/master/plt/numformatting.go?s=278:312#L4">TexPiRadFmt</a></h2>
			<pre>func TexPiRadFmt(x <a href="/pkg/builtin/#float64">float64</a>) <a href="/pkg/builtin/#string">string</a></pre>
			<p>
TexPiRadFmt formats number in radians/pi notation
</p>

			
			

		
			
			
			<h2 id="Text">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=3089:3130#L142">Text</a></h2>
			<pre>func Text(x, y <a href="/pkg/builtin/#float64">float64</a>, txt, args <a href="/pkg/builtin/#string">string</a>)</pre>
			
			
			

		
			
			
			<h2 id="Title">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=2947:2975#L134">Title</a></h2>
			<pre>func Title(txt, args <a href="/pkg/builtin/#string">string</a>)</pre>
			
			
			

		
			
			
			<h2 id="Wireframe">func <a href="https://github.com/cpmech/gosl/blob/master/plt/mplotlib.go?s=6386:6434#L286">Wireframe</a></h2>
			<pre>func Wireframe(x, y, z [][]<a href="/pkg/builtin/#float64">float64</a>, args <a href="/pkg/builtin/#string">string</a>)</pre>
			
			
			

		
		
			
			
			<h2 id="Fmt">type <a href="https://github.com/cpmech/gosl/blob/master/plt/styles.go?s=426:885#L8">Fmt</a></h2>
			<pre>type Fmt struct {
    C    <a href="/pkg/builtin/#string">string</a>  <span class="comment">// color</span>
    M    <a href="/pkg/builtin/#string">string</a>  <span class="comment">// marker</span>
    Ls   <a href="/pkg/builtin/#string">string</a>  <span class="comment">// linestyle</span>
    Lw   <a href="/pkg/builtin/#float64">float64</a> <span class="comment">// linewidth; -1 =&gt; default</span>
    Ms   <a href="/pkg/builtin/#int">int</a>     <span class="comment">// marker size; -1 =&gt; default</span>
    L    <a href="/pkg/builtin/#string">string</a>  <span class="comment">// label</span>
    Me   <a href="/pkg/builtin/#int">int</a>     <span class="comment">// mark-every; -1 =&gt; default</span>
    Z    <a href="/pkg/builtin/#int">int</a>     <span class="comment">// z-order</span>
    Mec  <a href="/pkg/builtin/#string">string</a>  <span class="comment">// marker edge color</span>
    Mew  <a href="/pkg/builtin/#float64">float64</a> <span class="comment">// marker edge width</span>
    Void <a href="/pkg/builtin/#bool">bool</a>    <span class="comment">// void marker =&gt; markeredgecolor=&#39;C&#39;, markerfacecolor=&#39;none&#39;</span>
    Clip <a href="/pkg/builtin/#bool">bool</a>    <span class="comment">// turn clip =&gt; clip_on=True</span>
}</pre>
			<p>
Fmt holds data for ploting lines
</p>


			

			

			
			
			

			

			
				
				<h3 id="Fmt.GetArgs">func (Fmt) <a href="https://github.com/cpmech/gosl/blob/master/plt/styles.go?s=1039:1080#L31">GetArgs</a></h3>
				<pre>func (o <a href="#Fmt">Fmt</a>) GetArgs(start <a href="/pkg/builtin/#string">string</a>) <a href="/pkg/builtin/#string">string</a></pre>
				<p>
GetArgs returns arguments for Plot
</p>

				
				
				
			
		
			
			
			<h2 id="Sty">type <a href="https://github.com/cpmech/gosl/blob/master/plt/styles.go?s=248:388#L1">Sty</a></h2>
			<pre>type Sty struct {
    Fc     <a href="/pkg/builtin/#string">string</a>  <span class="comment">// face color</span>
    Ec     <a href="/pkg/builtin/#string">string</a>  <span class="comment">// edge color</span>
    Lw     <a href="/pkg/builtin/#float64">float64</a> <span class="comment">// linewidth</span>
    Closed <a href="/pkg/builtin/#bool">bool</a>    <span class="comment">// closed shape</span>
}</pre>
			<p>
Sty holds data for drawing shapes
</p>


			

			

			
			
			

			

			
				
				<h3 id="Sty.Init">func (*Sty) <a href="https://github.com/cpmech/gosl/blob/master/plt/styles.go?s=931:951#L24">Init</a></h3>
				<pre>func (o *<a href="#Sty">Sty</a>) Init()</pre>
				<p>
Init initialises Fmt with default values
</p>

				
				
				
			
		
	

	





	
	
		<h2 id="pkg-subdirectories">Subdirectories</h2>
	
	


	<div class="pkg-dir">
		<table>
			<tr>
				<th class="pkg-name">Name</th>
				<th class="pkg-synopsis">Synopsis</th>
			</tr>

			
			<tr>
				<td colspan="2"><a href="..">..</a></td>
			</tr>
			

			
				
					<tr>
						<td class="pkg-name" style="padding-left: 0px;">
							<a href="figs/">figs</a>
						</td>
						<td class="pkg-synopsis">
							
						</td>
					</tr>
				
			
		</table>
	</div>


	


<div id="footer">
<br /><br />
<hr>
<pre class="copyright">
Copyright (c) 2016, The Gosl Authors. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
  list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
  this list of conditions and the following disclaimer in the documentation
  and/or other materials provided with the distribution.

* Neither the name of Gosl nor the names of its
  contributors may be used to endorse or promote products derived from
  this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS AS IS
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

</pre><!-- copyright -->
</div><!-- footer -->

</div><!-- container -->
</div><!-- page -->
</body>
</html>
